package dpatterns.decorator.pizzashop.toppings.impl;

import dpatterns.decorator.pizzashop.pizzas.Pizza;
import dpatterns.decorator.pizzashop.toppings.ToppingDecorator;

public class Mozzarella extends ToppingDecorator {
	
	public Mozzarella(Pizza newPizza) {
		super(newPizza);
		System.out.println("Adding Mozzarella.");
	}

	public String getDescription() {
		return tempPizza.getDescription()+", Mozzarella";
	}

	public double getPrice() {
		return tempPizza.getPrice() + 1.25;
	}

}
